// Product类
public class Product {
    private String title;
    private float weight;
    private String description;

    public Product(String title, float weight, String description) {
        this.title = title;
        this.weight = weight;
        this.description = description;
    }

    public float getPriceForQuantity(int quantity) {
        return 10.0f * quantity; // 假设每件商品价格为10
    }

    public float getWeight() {
        return weight;
    }
}
